package com.linkhub.oms.common.enums.mp;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: ApprovalStatusEnum
 * @Author: echo
 * @Date: 2024/3/8 22:13
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum ApprovalStatusEnum implements IEnumConvert<Integer> {

    PENDING_APPROVAL(0, "待审批"),
    AGREE(1, "已同意"),
    REFUSE(2, "已拒绝"),

    ;

    @EnumValue
    private final Integer code;
    private final String desc;


}
